package com.itcncp.wechat.app.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class ItcsCityLimitInfoExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public ItcsCityLimitInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andCityLimitIdIsNull() {
            addCriterion("city_limit_id is null");
            return (Criteria) this;
        }

        public Criteria andCityLimitIdIsNotNull() {
            addCriterion("city_limit_id is not null");
            return (Criteria) this;
        }

        public Criteria andCityLimitIdEqualTo(Long value) {
            addCriterion("city_limit_id =", value, "cityLimitId");
            return (Criteria) this;
        }

        public Criteria andCityLimitIdNotEqualTo(Long value) {
            addCriterion("city_limit_id <>", value, "cityLimitId");
            return (Criteria) this;
        }

        public Criteria andCityLimitIdGreaterThan(Long value) {
            addCriterion("city_limit_id >", value, "cityLimitId");
            return (Criteria) this;
        }

        public Criteria andCityLimitIdGreaterThanOrEqualTo(Long value) {
            addCriterion("city_limit_id >=", value, "cityLimitId");
            return (Criteria) this;
        }

        public Criteria andCityLimitIdLessThan(Long value) {
            addCriterion("city_limit_id <", value, "cityLimitId");
            return (Criteria) this;
        }

        public Criteria andCityLimitIdLessThanOrEqualTo(Long value) {
            addCriterion("city_limit_id <=", value, "cityLimitId");
            return (Criteria) this;
        }

        public Criteria andCityLimitIdIn(List<Long> values) {
            addCriterion("city_limit_id in", values, "cityLimitId");
            return (Criteria) this;
        }

        public Criteria andCityLimitIdNotIn(List<Long> values) {
            addCriterion("city_limit_id not in", values, "cityLimitId");
            return (Criteria) this;
        }

        public Criteria andCityLimitIdBetween(Long value1, Long value2) {
            addCriterion("city_limit_id between", value1, value2, "cityLimitId");
            return (Criteria) this;
        }

        public Criteria andCityLimitIdNotBetween(Long value1, Long value2) {
            addCriterion("city_limit_id not between", value1, value2, "cityLimitId");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("city is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("city is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("city =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("city <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("city >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("city >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("city <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("city <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("city like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("city not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("city in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("city not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("city between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("city not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCitynameIsNull() {
            addCriterion("cityname is null");
            return (Criteria) this;
        }

        public Criteria andCitynameIsNotNull() {
            addCriterion("cityname is not null");
            return (Criteria) this;
        }

        public Criteria andCitynameEqualTo(String value) {
            addCriterion("cityname =", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotEqualTo(String value) {
            addCriterion("cityname <>", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameGreaterThan(String value) {
            addCriterion("cityname >", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameGreaterThanOrEqualTo(String value) {
            addCriterion("cityname >=", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameLessThan(String value) {
            addCriterion("cityname <", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameLessThanOrEqualTo(String value) {
            addCriterion("cityname <=", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameLike(String value) {
            addCriterion("cityname like", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotLike(String value) {
            addCriterion("cityname not like", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameIn(List<String> values) {
            addCriterion("cityname in", values, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotIn(List<String> values) {
            addCriterion("cityname not in", values, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameBetween(String value1, String value2) {
            addCriterion("cityname between", value1, value2, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotBetween(String value1, String value2) {
            addCriterion("cityname not between", value1, value2, "cityname");
            return (Criteria) this;
        }

        public Criteria andCityWeekIsNull() {
            addCriterion("city_week is null");
            return (Criteria) this;
        }

        public Criteria andCityWeekIsNotNull() {
            addCriterion("city_week is not null");
            return (Criteria) this;
        }

        public Criteria andCityWeekEqualTo(String value) {
            addCriterion("city_week =", value, "cityWeek");
            return (Criteria) this;
        }

        public Criteria andCityWeekNotEqualTo(String value) {
            addCriterion("city_week <>", value, "cityWeek");
            return (Criteria) this;
        }

        public Criteria andCityWeekGreaterThan(String value) {
            addCriterion("city_week >", value, "cityWeek");
            return (Criteria) this;
        }

        public Criteria andCityWeekGreaterThanOrEqualTo(String value) {
            addCriterion("city_week >=", value, "cityWeek");
            return (Criteria) this;
        }

        public Criteria andCityWeekLessThan(String value) {
            addCriterion("city_week <", value, "cityWeek");
            return (Criteria) this;
        }

        public Criteria andCityWeekLessThanOrEqualTo(String value) {
            addCriterion("city_week <=", value, "cityWeek");
            return (Criteria) this;
        }

        public Criteria andCityWeekLike(String value) {
            addCriterion("city_week like", value, "cityWeek");
            return (Criteria) this;
        }

        public Criteria andCityWeekNotLike(String value) {
            addCriterion("city_week not like", value, "cityWeek");
            return (Criteria) this;
        }

        public Criteria andCityWeekIn(List<String> values) {
            addCriterion("city_week in", values, "cityWeek");
            return (Criteria) this;
        }

        public Criteria andCityWeekNotIn(List<String> values) {
            addCriterion("city_week not in", values, "cityWeek");
            return (Criteria) this;
        }

        public Criteria andCityWeekBetween(String value1, String value2) {
            addCriterion("city_week between", value1, value2, "cityWeek");
            return (Criteria) this;
        }

        public Criteria andCityWeekNotBetween(String value1, String value2) {
            addCriterion("city_week not between", value1, value2, "cityWeek");
            return (Criteria) this;
        }

        public Criteria andCityDateIsNull() {
            addCriterion("city_date is null");
            return (Criteria) this;
        }

        public Criteria andCityDateIsNotNull() {
            addCriterion("city_date is not null");
            return (Criteria) this;
        }

        public Criteria andCityDateEqualTo(Date value) {
            addCriterionForJDBCDate("city_date =", value, "cityDate");
            return (Criteria) this;
        }

        public Criteria andCityDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("city_date <>", value, "cityDate");
            return (Criteria) this;
        }

        public Criteria andCityDateGreaterThan(Date value) {
            addCriterionForJDBCDate("city_date >", value, "cityDate");
            return (Criteria) this;
        }

        public Criteria andCityDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("city_date >=", value, "cityDate");
            return (Criteria) this;
        }

        public Criteria andCityDateLessThan(Date value) {
            addCriterionForJDBCDate("city_date <", value, "cityDate");
            return (Criteria) this;
        }

        public Criteria andCityDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("city_date <=", value, "cityDate");
            return (Criteria) this;
        }

        public Criteria andCityDateIn(List<Date> values) {
            addCriterionForJDBCDate("city_date in", values, "cityDate");
            return (Criteria) this;
        }

        public Criteria andCityDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("city_date not in", values, "cityDate");
            return (Criteria) this;
        }

        public Criteria andCityDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("city_date between", value1, value2, "cityDate");
            return (Criteria) this;
        }

        public Criteria andCityDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("city_date not between", value1, value2, "cityDate");
            return (Criteria) this;
        }

        public Criteria andFineIsNull() {
            addCriterion("fine is null");
            return (Criteria) this;
        }

        public Criteria andFineIsNotNull() {
            addCriterion("fine is not null");
            return (Criteria) this;
        }

        public Criteria andFineEqualTo(String value) {
            addCriterion("fine =", value, "fine");
            return (Criteria) this;
        }

        public Criteria andFineNotEqualTo(String value) {
            addCriterion("fine <>", value, "fine");
            return (Criteria) this;
        }

        public Criteria andFineGreaterThan(String value) {
            addCriterion("fine >", value, "fine");
            return (Criteria) this;
        }

        public Criteria andFineGreaterThanOrEqualTo(String value) {
            addCriterion("fine >=", value, "fine");
            return (Criteria) this;
        }

        public Criteria andFineLessThan(String value) {
            addCriterion("fine <", value, "fine");
            return (Criteria) this;
        }

        public Criteria andFineLessThanOrEqualTo(String value) {
            addCriterion("fine <=", value, "fine");
            return (Criteria) this;
        }

        public Criteria andFineLike(String value) {
            addCriterion("fine like", value, "fine");
            return (Criteria) this;
        }

        public Criteria andFineNotLike(String value) {
            addCriterion("fine not like", value, "fine");
            return (Criteria) this;
        }

        public Criteria andFineIn(List<String> values) {
            addCriterion("fine in", values, "fine");
            return (Criteria) this;
        }

        public Criteria andFineNotIn(List<String> values) {
            addCriterion("fine not in", values, "fine");
            return (Criteria) this;
        }

        public Criteria andFineBetween(String value1, String value2) {
            addCriterion("fine between", value1, value2, "fine");
            return (Criteria) this;
        }

        public Criteria andFineNotBetween(String value1, String value2) {
            addCriterion("fine not between", value1, value2, "fine");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andIsxianxingIsNull() {
            addCriterion("isxianxing is null");
            return (Criteria) this;
        }

        public Criteria andIsxianxingIsNotNull() {
            addCriterion("isxianxing is not null");
            return (Criteria) this;
        }

        public Criteria andIsxianxingEqualTo(Byte value) {
            addCriterion("isxianxing =", value, "isxianxing");
            return (Criteria) this;
        }

        public Criteria andIsxianxingNotEqualTo(Byte value) {
            addCriterion("isxianxing <>", value, "isxianxing");
            return (Criteria) this;
        }

        public Criteria andIsxianxingGreaterThan(Byte value) {
            addCriterion("isxianxing >", value, "isxianxing");
            return (Criteria) this;
        }

        public Criteria andIsxianxingGreaterThanOrEqualTo(Byte value) {
            addCriterion("isxianxing >=", value, "isxianxing");
            return (Criteria) this;
        }

        public Criteria andIsxianxingLessThan(Byte value) {
            addCriterion("isxianxing <", value, "isxianxing");
            return (Criteria) this;
        }

        public Criteria andIsxianxingLessThanOrEqualTo(Byte value) {
            addCriterion("isxianxing <=", value, "isxianxing");
            return (Criteria) this;
        }

        public Criteria andIsxianxingIn(List<Byte> values) {
            addCriterion("isxianxing in", values, "isxianxing");
            return (Criteria) this;
        }

        public Criteria andIsxianxingNotIn(List<Byte> values) {
            addCriterion("isxianxing not in", values, "isxianxing");
            return (Criteria) this;
        }

        public Criteria andIsxianxingBetween(Byte value1, Byte value2) {
            addCriterion("isxianxing between", value1, value2, "isxianxing");
            return (Criteria) this;
        }

        public Criteria andIsxianxingNotBetween(Byte value1, Byte value2) {
            addCriterion("isxianxing not between", value1, value2, "isxianxing");
            return (Criteria) this;
        }

        public Criteria andXxweihaoIsNull() {
            addCriterion("xxweihao is null");
            return (Criteria) this;
        }

        public Criteria andXxweihaoIsNotNull() {
            addCriterion("xxweihao is not null");
            return (Criteria) this;
        }

        public Criteria andXxweihaoEqualTo(String value) {
            addCriterion("xxweihao =", value, "xxweihao");
            return (Criteria) this;
        }

        public Criteria andXxweihaoNotEqualTo(String value) {
            addCriterion("xxweihao <>", value, "xxweihao");
            return (Criteria) this;
        }

        public Criteria andXxweihaoGreaterThan(String value) {
            addCriterion("xxweihao >", value, "xxweihao");
            return (Criteria) this;
        }

        public Criteria andXxweihaoGreaterThanOrEqualTo(String value) {
            addCriterion("xxweihao >=", value, "xxweihao");
            return (Criteria) this;
        }

        public Criteria andXxweihaoLessThan(String value) {
            addCriterion("xxweihao <", value, "xxweihao");
            return (Criteria) this;
        }

        public Criteria andXxweihaoLessThanOrEqualTo(String value) {
            addCriterion("xxweihao <=", value, "xxweihao");
            return (Criteria) this;
        }

        public Criteria andXxweihaoLike(String value) {
            addCriterion("xxweihao like", value, "xxweihao");
            return (Criteria) this;
        }

        public Criteria andXxweihaoNotLike(String value) {
            addCriterion("xxweihao not like", value, "xxweihao");
            return (Criteria) this;
        }

        public Criteria andXxweihaoIn(List<String> values) {
            addCriterion("xxweihao in", values, "xxweihao");
            return (Criteria) this;
        }

        public Criteria andXxweihaoNotIn(List<String> values) {
            addCriterion("xxweihao not in", values, "xxweihao");
            return (Criteria) this;
        }

        public Criteria andXxweihaoBetween(String value1, String value2) {
            addCriterion("xxweihao between", value1, value2, "xxweihao");
            return (Criteria) this;
        }

        public Criteria andXxweihaoNotBetween(String value1, String value2) {
            addCriterion("xxweihao not between", value1, value2, "xxweihao");
            return (Criteria) this;
        }

        public Criteria andHolidayIsNull() {
            addCriterion("holiday is null");
            return (Criteria) this;
        }

        public Criteria andHolidayIsNotNull() {
            addCriterion("holiday is not null");
            return (Criteria) this;
        }

        public Criteria andHolidayEqualTo(String value) {
            addCriterion("holiday =", value, "holiday");
            return (Criteria) this;
        }

        public Criteria andHolidayNotEqualTo(String value) {
            addCriterion("holiday <>", value, "holiday");
            return (Criteria) this;
        }

        public Criteria andHolidayGreaterThan(String value) {
            addCriterion("holiday >", value, "holiday");
            return (Criteria) this;
        }

        public Criteria andHolidayGreaterThanOrEqualTo(String value) {
            addCriterion("holiday >=", value, "holiday");
            return (Criteria) this;
        }

        public Criteria andHolidayLessThan(String value) {
            addCriterion("holiday <", value, "holiday");
            return (Criteria) this;
        }

        public Criteria andHolidayLessThanOrEqualTo(String value) {
            addCriterion("holiday <=", value, "holiday");
            return (Criteria) this;
        }

        public Criteria andHolidayLike(String value) {
            addCriterion("holiday like", value, "holiday");
            return (Criteria) this;
        }

        public Criteria andHolidayNotLike(String value) {
            addCriterion("holiday not like", value, "holiday");
            return (Criteria) this;
        }

        public Criteria andHolidayIn(List<String> values) {
            addCriterion("holiday in", values, "holiday");
            return (Criteria) this;
        }

        public Criteria andHolidayNotIn(List<String> values) {
            addCriterion("holiday not in", values, "holiday");
            return (Criteria) this;
        }

        public Criteria andHolidayBetween(String value1, String value2) {
            addCriterion("holiday between", value1, value2, "holiday");
            return (Criteria) this;
        }

        public Criteria andHolidayNotBetween(String value1, String value2) {
            addCriterion("holiday not between", value1, value2, "holiday");
            return (Criteria) this;
        }

        public Criteria andLimitDecIsNull() {
            addCriterion("limit_dec is null");
            return (Criteria) this;
        }

        public Criteria andLimitDecIsNotNull() {
            addCriterion("limit_dec is not null");
            return (Criteria) this;
        }

        public Criteria andLimitDecEqualTo(String value) {
            addCriterion("limit_dec =", value, "limitDec");
            return (Criteria) this;
        }

        public Criteria andLimitDecNotEqualTo(String value) {
            addCriterion("limit_dec <>", value, "limitDec");
            return (Criteria) this;
        }

        public Criteria andLimitDecGreaterThan(String value) {
            addCriterion("limit_dec >", value, "limitDec");
            return (Criteria) this;
        }

        public Criteria andLimitDecGreaterThanOrEqualTo(String value) {
            addCriterion("limit_dec >=", value, "limitDec");
            return (Criteria) this;
        }

        public Criteria andLimitDecLessThan(String value) {
            addCriterion("limit_dec <", value, "limitDec");
            return (Criteria) this;
        }

        public Criteria andLimitDecLessThanOrEqualTo(String value) {
            addCriterion("limit_dec <=", value, "limitDec");
            return (Criteria) this;
        }

        public Criteria andLimitDecLike(String value) {
            addCriterion("limit_dec like", value, "limitDec");
            return (Criteria) this;
        }

        public Criteria andLimitDecNotLike(String value) {
            addCriterion("limit_dec not like", value, "limitDec");
            return (Criteria) this;
        }

        public Criteria andLimitDecIn(List<String> values) {
            addCriterion("limit_dec in", values, "limitDec");
            return (Criteria) this;
        }

        public Criteria andLimitDecNotIn(List<String> values) {
            addCriterion("limit_dec not in", values, "limitDec");
            return (Criteria) this;
        }

        public Criteria andLimitDecBetween(String value1, String value2) {
            addCriterion("limit_dec between", value1, value2, "limitDec");
            return (Criteria) this;
        }

        public Criteria andLimitDecNotBetween(String value1, String value2) {
            addCriterion("limit_dec not between", value1, value2, "limitDec");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}